﻿<Window x:Class="MovieBuddy.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="clr-namespace:MovieBuddy.Controls" Title="Movie Buddy" Height="466" Width="916" Icon="/MovieBuddy;component/resources/movieBuddy.png" ResizeMode="CanResizeWithGrip" WindowStyle="SingleBorderWindow" Loaded="LoadedHandler" xmlns:my="clr-namespace:MovieBuddy.Views" Closing="ClosingHandler">
    <Grid>
        <Menu Height="20" Name="menu1" VerticalAlignment="Top">
            <MenuItem Header="Settings" Tag="settngs">
                <MenuItem Header="Media Players" Click="MediaPlayersMenuClick"/>
                <MenuItem Header="Options" Click="OptionsClick"/>
            </MenuItem>
            <MenuItem Header="Help" Tag="help">
                <MenuItem Header="About" Click="AboutClicked"/>
            </MenuItem>
        </Menu>
        <controls:WatermarkTextBox Height="36" HorizontalAlignment="Left" Margin="12,26,0,0" x:Name="searchBox" Watermark="Search" VerticalAlignment="Top" Width="263" FontSize="20"
                                   TextChanged="SearchTextChanged"/>
        <Grid Margin="12,68,12,12" Name="viewPanel">
            <my:MovieView x:Name="movieView1" Margin="0"/>
        </Grid>
        <Button Content="Button" HorizontalAlignment="Left" Margin="281,25,0,0" Name="moviesButton" Width="87" Height="36" VerticalAlignment="Top" Click="ViewButtonClickedHandler">
            <Button.Template>
                <ControlTemplate><TextBlock Height="36" Name="moviesButtonLabel" Text="Movies" FontSize="22" HorizontalAlignment="Center" VerticalAlignment="Center"/>
                </ControlTemplate>
            </Button.Template>
        </Button>
        <Button Content="Button" Height="36" HorizontalAlignment="Left" Margin="368,25,0,0" Name="tagsButton" VerticalAlignment="Top" Width="63" Click="ViewButtonClickedHandler">
            <Button.Template>
                <ControlTemplate>
                    <TextBlock FontSize="22" Height="36" HorizontalAlignment="Center" Name="tagsButtonLabel" Text="Tags" VerticalAlignment="Center" />
                </ControlTemplate>
            </Button.Template>
        </Button>
        <Button Content="Button" Height="36" HorizontalAlignment="Left" Margin="436,25,0,0" Name="peopleButton" VerticalAlignment="Top" Width="63" Click="ViewButtonClickedHandler">
            <Button.Template>
                <ControlTemplate>
                    <TextBlock FontSize="22" Height="36" HorizontalAlignment="Center" Name="peopleButtonLabel" Text="People" VerticalAlignment="Center" />
                </ControlTemplate>
            </Button.Template>
        </Button>
        <Button Content="Button" Height="36" HorizontalAlignment="Right" Margin="0,26,12,0" Name="newMovieButton" VerticalAlignment="Top" Width="54" Click="NewMovieButtonClick">
            <Button.Template>
                <ControlTemplate>
                    <TextBlock FontSize="22" Height="36" HorizontalAlignment="Center" Name="newMovieButtonLabel" Text="Add" VerticalAlignment="Center" />
                </ControlTemplate>
            </Button.Template>
        </Button>
        <Button Height="36" HorizontalAlignment="Right" Margin="0,27,72,0" Name="playListBut" VerticalAlignment="Top" Width="84" Click="PlayListButHandler">
            <Button.Template>
                <ControlTemplate>
                    <TextBlock FontSize="22" Height="36" HorizontalAlignment="Center" Name="playListButLabel" Text="Playlist" VerticalAlignment="Center" />
                </ControlTemplate>
            </Button.Template>
        </Button>
    </Grid>
</Window>
